// @ts-check
import { enumOptionValue } from "./types";

export const OPTION_DEFAULT_STATUS = enumOptionValue("defaultStatus");

export const OPTION_ORDER_STATUS = enumOptionValue("orderStatus");

export const OPTION_GOODS_TYPE = enumOptionValue("goodsType");

export const OPTION_AUDIT_TYPE = enumOptionValue("auditType");

export const FILTER_OPTION_DATA = [
  {
    name: "startTime",
    type: "date",
    label: "开始时间",
    placeholder: "请选择开始时间",
  },
  {
    name: "endTime",
    type: "date",
    label: "结束时间",
    placeholder: "请选择结束时间",
  },
];

export const OPTION_RESULT = [
  {
    label: "是",
    value: true,
  },
  {
    label: "否",
    value: false,
  },
];

export const OPTION_PUT_AWAY = [
  {
    label: "上架",
    value: true,
  },
  {
    label: "下架",
    value: false,
  },
];
